package neo.tetris.bean.conf;

import neo.sourceEngine.bean.annotation.ResourceJson;
import neo.sourceEngine.bean.annotation.ResourceJsonPrimayKey;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;

@JsonIgnoreProperties(ignoreUnknown = true)
@ResourceJson(file = "WEB-INF/conf/scene")
public class BattleConf {
	static public final int CELL_ROAD = 1;
	static public final int CELL_SPACE = 2;
	static public final int CELL_HOME = 3;

	@ResourceJsonPrimayKey
	public String confId;

	public int cellPixel;

	public int width;

	public int height;

	public int globalWidth;

	public int globalHeight;

	public String backgroundID;

	public int offsetLeft;

	public int offsetTop;

	public BattleConfPlayer[] players;

	public BattleConfItem[] items;

	public int[][] cells;
	
	public int[][] bornPositions;

	public long expiredPeriodMinutes;

	public BattleConf() {
		super();

		items = new BattleConfItem[0];
	}
}
